Repository navigation
docs(atlas-search): align Worker README and wrangler comment with the code - #13317
Merged
Merged
Conversation
… code Five survey findings from the Atlas book pass, each verified against pkgs/atlas-search/worker/src on main: - key material is KEY_SCHEMA 2: it also carries "v": 2 and the disclosure context (hosted-per-user); the README's fingerprint list predated the bump, so a key built from the README was wrong. - the D1 hot cache is not flag-activated: HotCacheStore has no caller in the request path (tests only), so the README now says the store is unwired rather than implying the flag turns it on. - wrangler.toml's GATE_TOKEN comment scoped the gate to /v1/*; the same gate covers POST /mcp. - the Worker itself verifies effective_ceiling on every search response and refuses (502) before caching; the README credited ceiling enforcement to the service only. - the module map credited index.ts with normalization and keying; both live in key.ts, search keying runs in search.ts, and index.ts calls queryKey directly only for inspect/purge.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 29 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This was referenced Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the five Atlas Worker README/wrangler disagreements found by the Atlas book survey, each verified first-hand against
pkgs/atlas-search/worker/srcon main:"v": 2and the disclosure context (hosted-per-user, atlas(worker): state the disclosure context on hosted search requests and key the result cache by it #12622) — the README's fingerprint list predated the bump.HotCacheStorehas no caller in the request path (tests only), so the flag alone does not activate it — README now says the store is unwired; read-path integration remains impl(atlas): D1 hot-cache read-path integration — Turso-hop skip with skip logging #13105.wrangler.toml's GATE_TOKEN comment scoped the gate to /v1/*; it also covers POST /mcp.effective_ceilingon every search response and refuses (502) before caching — README credited enforcement to the service only.key.ts; search keying runs insearch.ts(executeSearch);index.tscallsqueryKeydirectly only for inspect/purge.Verification: worker vitest suite on the laptop at this head — 41/41 pass (incl. key, hot_cache, and worker suites, which load wrangler.toml). Docs/comment-only change.
Closes #13282
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.